package com.bawei.main

import com.bawei.net.BaseResponse
import com.blankj.utilcode.util.GsonUtils

data class ResultMainEntity(
    val values: String
): BaseResponse(){
    fun getValues(): MainValues{
        return GsonUtils.fromJson(values, MainValues::class.java)
    }
}


data class MainValues(
    val isMustUpdate: Boolean, //是否强制更新
    val downUrl: String,  //新版的下载地址
    val content: String, //新版本的更新文案
)